/**
 * 网站公告分页查询参数
 */
export interface NoticePageQuery extends PageQuery {
  id?: number;
  title?: string;
  coverImage?: string;
  content?: string;
  status?: number; // 0-草稿 1-发布
  author?: string;
  likes?: number;
  enabled?: boolean;
  deleted?: number;
  createTime?: string;
  createBy?: number;
  updateTime?: string;
  updateBy?: number;
}

/**
 * 网站公告查询参数
 */
export interface NoticeQueryParam {
  id?: number;
  title?: string;
  coverImage?: string;
  content?: string;
  status?: number;
  author?: string;
  likes?: number;
  enabled?: boolean;
  deleted?: number;
  createTime?: string;
  createBy?: number;
  updateTime?: string;
  updateBy?: number;
}

/**
 * 网站公告信息
 */
export interface NoticeInfo {
  id?: number;
  title: string;
  coverImage?: string;
  content: string;
  status: number; // 0-草稿 1-发布
  author: string;
  likes?: number;
  enabled?: boolean;
  deleted?: number;
  createTime?: string;
  createBy?: number;
  updateTime?: string;
  updateBy?: number;
  publishTime?: string;
  isTop?: boolean;
}
